package com.health.mapp.utils;

public class ResultCode {

    //结果码
    //操作成功
    public static final long OPERATION_SUCCESS = 0;
    public static final String OPERATION_SUCCESS_NOTE = "操作成功！";

    //res="登录时未输入用户名或密码!";
    public static final long LOGIN_FAIL_MEMBER_NAME_IS_NULL = -1;
    public static final String LOGIN_FAIL_MEMBER_NAME_IS_NULL_NOTE = "登录时未输入用户名或密码!";

    //密码为空
    public static final long LOGIN_FAIL_PASSWORD_IS_NULL = -2;
    public static final String LOGIN_FAIL_PASSWORD_IS_NULL_NOTE = "密码为空!";

    //res="无此用户:"+username;
    public static final long LOGIN_FAIL_MEMBER_IS_NOT_EXISTS = -3;
    public static final String LOGIN_FAIL_MEMBER_IS_NOT_EXISTS_NOTE = "用户名或密码错误!";


    public static final long LOGIN_FAIL_NAME_ERROR = -4;
    public static final String LOGIN_FAIL_NAME_ERROR_NOTE = "用户不存在!";

    //用户名已存在
    public static final long LOGIN_FAIL_MEMBER_NAME_IS_EXISTS = -5;
    public static final String LOGIN_FAIL_MEMBER_NAME_IS_EXISTS_NOTE = "用户已被注册!";

    //输入的数据异常！
    public static final long INPUT_INTERFACE_UUID_IS_NILL = -6;
    public static final String INPUT_INTERFACE_UUID_IS_NILL_NOTE = "接口未送UUID！";

    public static final long LOGIN_FAIL_PASSWORD_IS_ERROR = -7;
    public static final String LOGIN_FAIL_PASSWORD_IS_ERROR_NOTE = "密码错误!";

    //输入的数据异常！
    public static final long INPUT_INTERFACE_DATA_ERROR = -22;
    public static final String INPUT_INTERFACE_DATA_ERROR_NOTE = "输入的数据异常，无此接口！";

    //输入的数据异常！
    public static final long INPUT_RANDOM_CAMP_TEAM_DATA_ERROR = -23;
    public static final String INPUT_RANDOM_CAMP_TEAM_DATA_ERROR_NOTE = "今天串门已达上限次数，明天请早咧！";

    //非允许的图片格式！
    public static final long PICTURE_TYPE_ERROR = -25;
    public static final String PICTURE_TYPE_ERROR_NOTE = "请上传正确的图片！非图片不允许！";

    //重复收藏！
    public static final long ARTICLE_COLLECT_REPEACT_ERROR = -26;
    public static final String ARTICLE_COLLECT_REPEACT_ERROR_NOTE = "你已收藏过了哦！";

    //已验证过
    public static final long VERIFY_EMAIL_REPEACT_ERROR = -27;
    public static final String VERIFY_EMAIL_REPEACT_ERROR_NOTE = "已验证过，不需要重复验证！";

    //已验证过
    public static final long SMS_ERROR = -28;
    public static final String SMS_ERROR_NOTE = "验证码错误！";


    //未 验证过
    public static final long UN_VERIFY_SMS_ERROR = -29;
    public static final String UN_VERIFY_SMS_ERROR_NOTE = "短信验证码未通过,请重新获取验证码！";

    //发送邮件异常
    public static final long MAIL_SEND_ERROR = -30;
    public static final String MAIL_SEND_ERROR_NOTE = "发送邮件异常!";

    //输入的数据异常！
    public static final long INPUT_SEND_SMS_DATA_ERROR = -31;
    public static final String INPUT_SEND_SMS_DATA_ERROR_NOTE = "今天找回密码已达上限次数，明天请早咧！";

    //修改密码时老密码错误
    public static final long MODIFY_PASSWORD_OLD_PASSWORD_ERROR = -32;

    public static final String MODIFY_PASSWORD_OLD_PASSWORD_ERROR_NOTE = "旧密码不正确，请重新输入！";

    //修改密码时老密码错误
    public static final long OSS_TOKEN_CONNECT_ERROR = -33;

    public static final String OSS_TOKEN_CONNECT_ERROR_NOTE = "链接认证失败！";

    public static final long OSS_MEMBER_ICON_ADD_ERROR = -2;

    public static final String OSS_MEMBER_ICON_ADD_ERROR_NOTE = "头像更新失败！";

    public static final long OSS_ARCITLE_IMG_ADD_ERROR = -34;

    public static final String OSS_ARCITLE_IMG_ADD_ERROR_NOTE = "议事图片更新失败！";

    //缺少参数
    public static final long OPERATION_LAKE_PARAMETER_ORDERID = -35;
    public static final String OPERATION_LAKE_PARAMETER_ORDERID_NOTE = "缺少参数orderId!";

    //缺少参数
    public static final long OPERATION_LAKE_PARAMETER_USERID = -36;
    public static final String OPERATION_LAKE_PARAMETER_USERID_NOTE = "缺少参数userId!";

    //缺少参数
    public static final long OPERATION_CARD_PAYMENT_NOT_ENOUGH_ERROR = -37;
    public static final String OPERATION_CARD_PAYMENT_NOT_ENOUGH_ERROR_NOTE = "卡余额不够此次支付!";

    //缺少参数
    public static final long OPERATION_WALLET_PAYMENT_NOT_ENOUGH_ERROR = -40;
    public static final String OPERATION_WALLET_PAYMENT_NOT_ENOUGH_ERROR_NOTE = "余额不够此次支付!";

    //缺少参数
    public static final long OPERATION_LAKE_PARAMETER_PAYMENTTYPE = -37;
    public static final String OPERATION_LAKE_PARAMETER_PAYMENTTYPE_NOTE = "缺少参数userId!";

    //输入的数据异常

    public static final long VERSION_UPDATE_VERSION_ERROR = -38;
    public static final String VERSION_UPDATE_VERSION_ERROR_NOTE = "缺少version!";
    public static final String VERSION_UPDATE_NO_VERSION_ERROR_NOTE = "查询不到对应版本信息！";
    
    


    //其他错误
    public static final long MEMBER_ALERADY_LOGIN = -9997;
    public static final String MEMBER_ALERADY_LOGIN_NOTE = "抱歉，此用户已于另一设备登录，请勿重复登录!";
    //其他错误
    public static final long OPERATION_OTHER_ERROR = -9999;
    public static final String OPERATION_OTHER_ERROR_NOTE = "其他错误!";

    //其他错误
    public static final long OPERATION_DATA_DUPLICATION_ERROR = -9998;
    public static final String OPERATION_DATA_DUPLICATION_ERROR_NOTE = "数据重复!，请检查数据";


    //缺少参数
    public static final long OPERATION_LAKE_PARAMETER_ERROR = -8888;
    public static final String OPERATION_LAKE_PARAMETER_ERROR_NOTE = "缺少参数!";


    //暂不支持
    public static final long OPERATION_UN_SUPPORT_ERROR = -8887;
    public static final String OPERATION_UN_SUPPORT_ERROR_NOTE = "暂不支持!";

    //暂不支持
    public static final long OPERATION_UN_SUPPORT_PAYMENT_ERROR = -8886;
    public static final String OPERATION_UN_SUPPORT_PAYMENT_ERROR_NOTE = "暂不支持此支付方式!";


    public static final String OPERATION_SUCCESS_4_SEND_MAIL_NOTE = "已发送验证邮件到注册时的邮箱，请查收！";
    public static final String OPERATION_SUCCESS_4_ACTIVITY_ENROLL_NOTE = "报过名的活动可以在侧边栏中查询哦！";
    //用户名错误
    public static final String OPERATION_SUCCESS_4_SEND_SMS_NOTE1 = "无此用户！";
    
    //暂不支持
    public static final long OPERATION_ORDER_ERROR_8885 = -8885;
    public static final String OPERATION_ORDER_ERROR_8885_NOTE = "用户权限不足!";

    /**
     * 订单相关错误列表
     */
    public static final long OPERATION_ORDER_ERROR_3001 = -3001;
    public static final String OPERATION_ORDER_ERROR_3001_NOTE = "订单信息错误!";

    public static final long OPERATION_ORDER_ERROR_3002 = -3002;
    public static final String OPERATION_ORDER_ERROR_3002_NOTE = "订单接受失败!";

    public static final long OPERATION_ORDER_ERROR_3003 = -3003;
    public static final String OPERATION_ORDER_ERROR_3003_NOTE = "订单关闭失败!";

    public static final long OPERATION_ORDER_ERROR_3004 = -3004;
    public static final String OPERATION_ORDER_ERROR_3004_NOTE = "新版本不支持拒单!";

    public static final long OPERATION_ORDER_ERROR_3005 = -3005;
    public static final String OPERATION_ORDER_ERROR_3005_NOTE = "订单取消失败!";

    public static final long OPERATION_ORDER_ERROR_3006 = -3006;
    public static final String OPERATION_ORDER_ERROR_3006_NOTE = "订单非预约订单!";

    public static final long OPERATION_ORDER_ERROR_3007 = -3007;
    public static final String OPERATION_ORDER_ERROR_3007_NOTE = "订单未到预约时间!";

    public static final long OPERATION_ORDER_ERROR_3008 = -3008;
    public static final String OPERATION_ORDER_ERROR_3008_NOTE = "订单已约满!";

    public static final long OPERATION_ACTIVE_ERROR_3009 = -3009;
    public static final String OPERATION_ACTIVE_ERROR_3009_NOTE = "卡激活卡密码无效!";

    public static final long OPERATION_ACTIVE_ERROR_3010 = -3010;
    public static final String OPERATION_ACTIVE_ERROR_3010_NOTE = "卡已过期!";

    public static final long OPERATION_ACTIVE_ERROR_3011 = -3011;
    public static final String OPERATION_ACTIVE_ERROR_3011_NOTE = "卡只能激活一次!";

    public static final long OPERATION_ACTIVE_ERROR_3012 = -3012;
    public static final String OPERATION_ACTIVE__3012_NOTE = "卡激活成功!";

    public static final long OPERATION_ORDER_ERROR_3013 = -3013;
    public static final String OPERATION_ORDER_ERROR_3013_NOTE = "订单接受失败，订单已被抢单!请重新刷新订单!";

    public static final long OPERATION_ORDER_ERROR_3014 = -3014;
    public static final String OPERATION_ORDER_ERROR_3014_NOTE = "订单接受失败，订单已被接!请重新刷新订单!";

    public static final long OPERATION_ORDER_ERROR_3015 = -3015;
    public static final String OPERATION_ORDER_ERROR_3015_NOTE = "订单已付款，不能修改!";

    public static final long OPERATION_ORDER_ERROR_3016 = -3016;
    public static final String OPERATION_ORDER_ERROR_3016_NOTE = "订单不能被取消!";

    public static final long OPERATION_ORDER_ERROR_3017 = -3017;
    public static final String OPERATION_ORDER_ERROR_3017_NOTE = "卡激活密码无效!";
    
    public static final long OPERATION_ORDER_ERROR_3018 = -3018;
    public static final String OPERATION_ORDER_ERROR_3018_NOTE = "商品信息出错!";
    
    public static final long OPERATION_ORDER_ERROR_3020 = -3020;
    public static final String OPERATION_ORDER_ERROR_3020_NOTE = "订单错误,就诊人未分配!";
    
    public static final long OPERATION_ORDER_ERROR_3021 = -3021;
    public static final String OPERATION_ORDER_ERROR_3021_NOTE = "订单错误,医生未分配!";
    
    public static final long OPERATION_ORDER_ERROR_3022 = -3022;
    public static final String OPERATION_ORDER_ERROR_3022_NOTE = "订单状态错误!";
    
    public static final long OPERATION_ORDER_ERROR_3023 = -3023;
    public static final String OPERATION_ORDER_ERROR_3023_NOTE = "订单是免费订单，无需支付!";
    
    public static final long OPERATION_ORDER_ERROR_3024 = -3024;
    public static final String OPERATION_ORDER_ERROR_3024_NOTE = "报告中有空项,请查实!";
    
    public static final long OPERATION_ORDER_ERROR_3025 = -3025;
    public static final String OPERATION_ORDER_ERROR_3025_NOTE = "此次健康档案咨询时间已过期!";
    
    public static final long OPERATION_ORDER_ERROR_3026 = -3026;
    public static final String OPERATION_ORDER_ERROR_3026_NOTE = "订单信息错误,不是挂号送药类型的订单!";
    
    public static final long OPERATION_ORDER_ERROR_3027 = -3027;
    public static final String OPERATION_ORDER_ERROR_3027_NOTE = "咨询时间太短,用户可能还有其他问题咨询!";

    public static final long OPERATION_ORDER_ERROR_3028 = -3028;
    public static final String OPERATION_ORDER_ERROR_3028_NOTE = "订单退单失败!";
    
    public static final long OPERATION_ORDER_ERROR_3029 = -3029;
    public static final String OPERATION_ORDER_ERROR_3029_NOTE = "暂不支持退单!";
    
    public static final long OPERATION_ORDER_ERROR_3030 = -3030;
    public static final String OPERATION_ORDER_ERROR_3030_NOTE = "删除失败!";
    
    public static final long OPERATION_ORDER_ERROR_3031 = -3031;
    public static final String OPERATION_ORDER_ERROR_3031_NOTE = "更新失败!";
    
    
    /**
     * 微信统一下单相关
     */
    public static final long OPERATION_ORDER_ERROR_4001 = -4001;
    public static final String OPERATION_ORDER_ERROR_4001_NOTE = "订单信息错误!";
    
    public static final long OPERATION_ORDER_ERROR_4002 = -4002;
    public static final String OPERATION_ORDER_ERROR_4002_NOTE = "暂不支持提现,请稍后!";
    
    public static final long OPERATION_ORDER_ERROR_4003 = -4003;
    public static final String OPERATION_ORDER_ERROR_4003_NOTE = "金额超过20元可提现,今天已提现!";
    
    public static final long OPERATION_ORDER_ERROR_4004 = -4004;
    public static final String OPERATION_ORDER_ERROR_4004_NOTE = "金额超过20元可提现,余额不足!";
    
    public static final long OPERATION_ORDER_ERROR_4005 = -4005;
    public static final String OPERATION_ORDER_ERROR_4005_NOTE = "提现失败,请稍后再试!";
    
    

    public static final long OPERATION_ORDER_ERROR_5000=-5000;
    public static final String OPERATION_ORDER_ERROR_5000_NOTE = "已经存在此类型账户信息！";
    public static final long OPERATION_ORDER_ERROR_5001=-5001;
    public static final String OPERATION_ORDER_ERROR_5001_NOTE = "认证失败，无法绑定微信账户！";
    public static final long OPERATION_ORDER_ERROR_5002=-5002;
    public static final String OPERATION_ORDER_ERROR_5002_NOTE = "信息查询失败，无法绑定微信账户！";
    public static final long OPERATION_ORDER_ERROR_5003=-5003;
    public static final String OPERATION_ORDER_ERROR_5003_NOTE = "暂不支持此类型账户的绑定！";
    public static final long OPERATION_ORDER_ERROR_5004=-5004;
    public static final String OPERATION_ORDER_ERROR_5004_NOTE = "查询不到该账户信息，解绑失败";
    
    public static final long OPERATION_ORDER_ERROR_5005=-5005;
    public static final String OPERATION_ORDER_ERROR_5005_NOTE = "账户未绑定";
}
